Your suggested change has been received. Thank you.

close

Suggest A Change

https://thales.na.market.dpondemand.io/docs/dpod/services/kmo….

back

BSIDCA endpoints

Password endpoints

search

Password endpoints

Password endpoints

AssignStaticPassword

AssignStaticPassword(System.String,System.String,System.Boolean,System.DateTime,System.String)

Assigns a static password to a user.

Parameters

Param: userName: User to assign the password to

Param: staticPassword: The static password

Param: changeOnFirstUse: True if the user is required to change the password the first time they authenticate

Param: revokeDate: Date that the static password will no longer work.

Param: organization: Account

Returns

True if assigning the password has succeeded

SOAP 1.1 sample

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

Request:

POST /bsidca/BSIDCA.asmx HTTP/1.1
Host: cloud.eu.safenetid.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.cryptocard.com/blackshield/AssignStaticPassword"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
    <AssignStaticPassword xmlns="http://www.cryptocard.com/blackshield/">
    <userName>string</userName>
    <staticPassword>string</staticPassword>
    <changeOnFirstUse>boolean</changeOnFirstUse>
    <revokeDate>dateTime</revokeDate>
    <organization>string</organization>
    </AssignStaticPassword>
</soap:Body>
</soap:Envelope>

Response:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
    <AssignStaticPasswordResponse xmlns="http://www.cryptocard.com/blackshield/">
    <AssignStaticPasswordResult>boolean</AssignStaticPasswordResult>
    </AssignStaticPasswordResponse>
</soap:Body>
</soap:Envelope>

SOAP 1.2 sample

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

Request:

POST /bsidca/BSIDCA.asmx HTTP/1.1
Host: cloud.eu.safenetid.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
    <AssignStaticPassword xmlns="http://www.cryptocard.com/blackshield/">
    <userName>string</userName>
    <staticPassword>string</staticPassword>
    <changeOnFirstUse>boolean</changeOnFirstUse>
    <revokeDate>dateTime</revokeDate>
    <organization>string</organization>
    </AssignStaticPassword>
</soap12:Body>
</soap12:Envelope>

Response:

HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
    <AssignStaticPasswordResponse xmlns="http://www.cryptocard.com/blackshield/">
    <AssignStaticPasswordResult>boolean</AssignStaticPasswordResult>
    </AssignStaticPasswordResponse>
</soap12:Body>
</soap12:Envelope>

HTTP GET sample

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

Request:

GET /bsidca/BSIDCA.asmx/AssignStaticPassword?userName=string&staticPassword=string&changeOnFirstUse=string&revokeDate=string&organization=string HTTP/1.1
Host: cloud.eu.safenetid.com

Response:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<boolean xmlns="http://www.cryptocard.com/blackshield/">boolean</boolean>

HTTP POST sample

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

Request:

POST /bsidca/BSIDCA.asmx/AssignStaticPassword HTTP/1.1
Host: cloud.eu.safenetid.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

userName=string&staticPassword=string&changeOnFirstUse=string&revokeDate=string&organization=string

Response:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<boolean xmlns="http://www.cryptocard.com/blackshield/">boolean</boolean>

GetPasswordPolicy

GetPasswordPolicy(System.String)

Return the static password policy

Parameter

Param: organization: Account

Returns

  • PasswordPolicy for the account

SOAP 1.1 sample

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

Request:

POST /bsidca/BSIDCA.asmx HTTP/1.1
Host: cloud.safenet-inc.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.cryptocard.com/blackshield/GetPasswordPolicy"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPasswordPolicy xmlns="http://www.cryptocard.com/blackshield/">
      <organization>string</organization>
    </GetPasswordPolicy>
  </soap:Body>
</soap:Envelope>

Response:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPasswordPolicyResponse xmlns="http://www.cryptocard.com/blackshield/">
      <GetPasswordPolicyResult>
        <TemporaryPasswords>boolean</TemporaryPasswords>
        <ChangeOnFirstUseReq>boolean</ChangeOnFirstUseReq>
        <ForceRandomPassword>boolean</ForceRandomPassword>
        <MinLength>int</MinLength>
        <MaxLength>int</MaxLength>
        <Complexity>NONE or ALPHANUMERIC or STRONG_ALPHANUMERIC or STRONG_NON_ALPHANUM</Complexity>
        <ChangePeriod>int</ChangePeriod>
        <MaxChangeAttempts>int</MaxChangeAttempts>
        <IsMaxLifeTimeEnforced>boolean</IsMaxLifeTimeEnforced>
        <MaxLifetimeValue>int</MaxLifetimeValue>
        <MaxLifetimeUnit>MINUTE or HOUR or DAY or WEEK</MaxLifetimeUnit>
        <IsMaxLifeSpecific>boolean</IsMaxLifeSpecific>
      </GetPasswordPolicyResult>
    </GetPasswordPolicyResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2 sample

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

Request:

POST /bsidca/BSIDCA.asmx HTTP/1.1
Host: cloud.safenet-inc.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPasswordPolicy xmlns="http://www.cryptocard.com/blackshield/">
      <organization>string</organization>
    </GetPasswordPolicy>
  </soap12:Body>
</soap12:Envelope>

Response:

HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPasswordPolicyResponse xmlns="http://www.cryptocard.com/blackshield/">
      <GetPasswordPolicyResult>
        <TemporaryPasswords>boolean</TemporaryPasswords>
        <ChangeOnFirstUseReq>boolean</ChangeOnFirstUseReq>
        <ForceRandomPassword>boolean</ForceRandomPassword>
        <MinLength>int</MinLength>
        <MaxLength>int</MaxLength>
        <Complexity>NONE or ALPHANUMERIC or STRONG_ALPHANUMERIC or STRONG_NON_ALPHANUM</Complexity>
        <ChangePeriod>int</ChangePeriod>
        <MaxChangeAttempts>int</MaxChangeAttempts>
        <IsMaxLifeTimeEnforced>boolean</IsMaxLifeTimeEnforced>
        <MaxLifetimeValue>int</MaxLifetimeValue>
        <MaxLifetimeUnit>MINUTE or HOUR or DAY or WEEK</MaxLifetimeUnit>
        <IsMaxLifeSpecific>boolean</IsMaxLifeSpecific>
      </GetPasswordPolicyResult>
    </GetPasswordPolicyResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET sample

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

Request:

GET /bsidca/BSIDCA.asmx/GetPasswordPolicy?organization=string HTTP/1.1
Host: cloud.safenet-inc.com

Request:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<PasswordPolicy xmlns="http://www.cryptocard.com/blackshield/">
  <TemporaryPasswords>boolean</TemporaryPasswords>
  <ChangeOnFirstUseReq>boolean</ChangeOnFirstUseReq>
  <ForceRandomPassword>boolean</ForceRandomPassword>
  <MinLength>int</MinLength>
  <MaxLength>int</MaxLength>
  <Complexity>NONE or ALPHANUMERIC or STRONG_ALPHANUMERIC or STRONG_NON_ALPHANUM</Complexity>
  <ChangePeriod>int</ChangePeriod>
  <MaxChangeAttempts>int</MaxChangeAttempts>
  <IsMaxLifeTimeEnforced>boolean</IsMaxLifeTimeEnforced>
  <MaxLifetimeValue>int</MaxLifetimeValue>
  <MaxLifetimeUnit>MINUTE or HOUR or DAY or WEEK</MaxLifetimeUnit>
  <IsMaxLifeSpecific>boolean</IsMaxLifeSpecific>
</PasswordPolicy>

HTTP POST sample

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

Request:

POST /bsidca/BSIDCA.asmx/GetPasswordPolicy HTTP/1.1
Host: cloud.safenet-inc.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

organization=string

Response:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<PasswordPolicy xmlns="http://www.cryptocard.com/blackshield/">
  <TemporaryPasswords>boolean</TemporaryPasswords>
  <ChangeOnFirstUseReq>boolean</ChangeOnFirstUseReq>
  <ForceRandomPassword>boolean</ForceRandomPassword>
  <MinLength>int</MinLength>
  <MaxLength>int</MaxLength>
  <Complexity>NONE or ALPHANUMERIC or STRONG_ALPHANUMERIC or STRONG_NON_ALPHANUM</Complexity>
  <ChangePeriod>int</ChangePeriod>
  <MaxChangeAttempts>int</MaxChangeAttempts>
  <IsMaxLifeTimeEnforced>boolean</IsMaxLifeTimeEnforced>
  <MaxLifetimeValue>int</MaxLifetimeValue>
  <MaxLifetimeUnit>MINUTE or HOUR or DAY or WEEK</MaxLifetimeUnit>
  <IsMaxLifeSpecific>boolean</IsMaxLifeSpecific>
</PasswordPolicy>

RevokeStaticPassword

RevokeStaticPassword(System.String,System.String)

Revokes a user's static password

Parameters

Param: userName: User to revoke the password of

Param: organization: Account

Returns

True if password revoked

SOAP 1.1 sample

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

Request:

POST /bsidca/BSIDCA.asmx HTTP/1.1
Host: cloud.safenet-inc.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.cryptocard.com/blackshield/RevokeStaticPassword"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
    <RevokeStaticPassword xmlns="http://www.cryptocard.com/blackshield/">
    <userName>string</userName>
    <organization>string</organization>
    </RevokeStaticPassword>
</soap:Body>
</soap:Envelope>

Response:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
    <RevokeStaticPasswordResponse xmlns="http://www.cryptocard.com/blackshield/">
    <RevokeStaticPasswordResult>boolean</RevokeStaticPasswordResult>
    </RevokeStaticPasswordResponse>
</soap:Body>
</soap:Envelope>

SOAP 1.2 sample

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

Request:

POST /bsidca/BSIDCA.asmx HTTP/1.1
Host: cloud.safenet-inc.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
    <RevokeStaticPassword xmlns="http://www.cryptocard.com/blackshield/">
    <userName>string</userName>
    <organization>string</organization>
    </RevokeStaticPassword>
</soap12:Body>
</soap12:Envelope>

Response:

HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
    <RevokeStaticPasswordResponse xmlns="http://www.cryptocard.com/blackshield/">
    <RevokeStaticPasswordResult>boolean</RevokeStaticPasswordResult>
    </RevokeStaticPasswordResponse>
</soap12:Body>
</soap12:Envelope>

HTTP GET sample

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

Request:

GET /bsidca/BSIDCA.asmx/RevokeStaticPassword?userName=string&organization=string HTTP/1.1
Host: cloud.safenet-inc.com

Response:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<boolean xmlns="http://www.cryptocard.com/blackshield/">boolean</boolean>

HTTP POST sample

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

Request:

POST /bsidca/BSIDCA.asmx/RevokeStaticPassword HTTP/1.1
Host: cloud.safenet-inc.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

userName=string&organization=string

Response:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<boolean xmlns="http://www.cryptocard.com/blackshield/">boolean</boolean>